﻿@model IEnumerable<Thread>
@{
    Ajax.Dna().Widget()
        .Content(@<text>
    <div>
        @if (Model.Count() > 0)
        {
            Html.RenderPartial("ThreadList", Model);
        }
        else
        { 
            <div class="ui-state-highlight" style="padding: 10px;">
                @Html.Global("forums", "NoThreads")</div>
        }
    </div>
    </text>)
        .Render();
}
